<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <link rel="icon" href="/favicon.ico">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ag-design-template-ts</title>
    <script src="<%= BASE_URL %>config/index.js?t=<%= timestamp %>"></script>
    <script>
      try {
        eval('var a; a?.b');
      } catch (error) {
        setTimeout(function() {
          document.getElementById('app').innerHTML = '<p style="margin-top: 300px;text-align:center;">您的浏览器版本过低，<a style="color:blue;" href="https://www.google.cn/intl/zh-CN/chrome/">请升级浏览器版本</a></p>'
        })
      }
    </script>
    <style>
      .app-global-loading {
        position: absolute;
        left: calc(50% - 40px);
        top: 40%;
        border: 8px solid #f3f3f3;
        border-radius: 50%;
        border-top: 8px solid #00c853;
        width: 80px;
        height: 80px;
        -webkit-animation: appGlobalLoading 1.5s linear infinite;
        animation: appGlobalLoading 1.5s linear infinite;
      }

      @-webkit-keyframes appGlobalLoading {
        0% { -webkit-transform: rotate(0deg); }
        100% { -webkit-transform: rotate(360deg); }
      }

      @keyframes appGlobalLoading {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
      }
    </style>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but ag-design-template-ts doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app">
      <div class="app-global-loading"></div>
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
